<?php
return [
    'user' => [
        'role' => [
            config("constants.user.role.deployer") => "部署人员",
            config("constants.user.role.manager") => "管理员",
        ],
        'status' => [
            config("constants.user.status.ban") => "不可用",
            config("constants.user.status.active") => "可用"
        ],
    ],
    'project' => [
        'level' => [
            config("constants.project.level.test") => "测试环境",
            config("constants.project.level.product") => "线上环境",
        ],
        'level_en' => [
            config("constants.project.level.test") => "test",
            config("constants.project.level.product") => "product",
        ],
        'status' => [
            config("constants.project.status.ban") => "无效",
            config("constants.project.status.active") => "有效"
        ],
    ],
    'task' => [
        'action' => [
            config("constants.task.action.new") => "全新上线",
            config("constants.task.action.rollback") => "回滚",
        ],
        'status' => [
            config("constants.task.status.new") => "新建提交",
            config("constants.task.status.complete") => "上线完成",
            config("constants.task.status.fail") => "上线失败"
        ],
        'enable_rollback' => [
            config("constants.task.enable_rollback.ban") => "不能",
            config("constants.task.enable_rollback.active") => "能"
        ],
    ],
];